<?php
include ('logica/ClassUsuario.php');
setcookie("IdUsuario", "", time()-3600);
session_unset();
session_destroy();
//echo "<script>alert('Ha cerrado la sesión')</script>";
header("Location:index.php");
echo "<script language=Javascript> location.href=\"index.php\"; </script>";
?>